package cn.tedu.coolshark.code;

public enum LoginCode {
    SUCCESS(1,"登录成功"),
    PASSWORD_ERROR(2,"密码错误"),
    USERNAME_ERROR(3,"用户名不存在");


    private Integer code;
    private String msg;

    LoginCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
